﻿using Db7_ut.DomainObjects;
using Db7;
using System.Html;

namespace Db7_ut.Views.SingleElementBinding
{
    public class ReadonlyBinding
    {
        Employee _emp;

        public ReadonlyBinding(string containerID)
        {
            this._emp = new Employee();
            this._emp.ID = "ks;kl";
            VirtualElement ve = new VirtualElement();
            ve.Text_DB = this._emp.IDB;
            ve.Tag = "span";
            ve.RenderInside(containerID);
            
        }
    }
}
